<?php

use Biz\service\Album\AlbumListService;

class CheckIsCanBuiltAlbumAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    /**
     * @throws \Exception
     */
    public function main()
    {
        $currUid = $this->uid;
        $isCanBuiltAlbum = AlbumListService::checkIsCanBuiltAlbum($currUid);
        $this->setSuccess(['is_can_built_album' => $isCanBuiltAlbum], self::API_CODE_SUCCES);


    }
}